home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
c
/
AmiVoGL_MDEV.lha
/
!Modifications.lst
next >
Wrap
File List
|
1997-10-16
|
2KB
|
124 lines
Modifications by LouiSe (to ready for MaxonDevelop4)
I think, the SAS/C is not the best .C compiler for
the AMIGA, since the MaxonDevelop/C++ v4.0 was born!
Just try it, and forget the bug-master SAS/C!
- - - - - - - - - - - - - - - - - - - - - - - - - -
- file "vogl.h", and "vodevice.h" copied to "hershey/src" directory
- file "hershey.h" copied to "src" directory
- more function declarations modified to "static int" for compatibility
- some "return" function without parameter changed to "return(0)"
FILE: src/arcs.c
LINE: 67
ORIGINAL:
numsegs = (endang - startang) / 360.0 * nsegs + 0.5;
NEW:
numsegs = (int)((endang - startang) / 360.0 * nsegs + 0.5);
FILE: src/arcs.c
LINE: 168
ORIGINAL:
numsegs = (endang - startang) / 360.0 * nsegs + 0.5;
NEW:
numsegs = (int)((endang - startang) / 360.0 * nsegs + 0.5);
FILE: src/text.c
LINE: 6
ORIGINAL:
#if defined(PC) || defined(AZTEC_C)
NEW:
#if defined(PC) || defined(AZTEC_C) || defined(AMIGA)
FILE: src/viewp.c
LINE: 83
ORIGINAL:
vdevice.maxVx = vdevice.viewport->v.right * vdevice.sizeSx;
vdevice.maxVy = vdevice.viewport->v.top * vdevice.sizeSy;
vdevice.minVx = vdevice.viewport->v.left * vdevice.sizeSx;
vdevice.minVy = vdevice.viewport->v.bottom * vdevice.sizeSy;
NEW:
vdevice.maxVx = (int)(vdevice.viewport->v.right * vdevice.sizeSx);
vdevice.maxVy = (int)(vdevice.viewport->v.top * vdevice.sizeSy);
vdevice.minVx = (int)(vdevice.viewport->v.left * vdevice.sizeSx);
vdevice.minVy = (int)(vdevice.viewport->v.bottom * vdevice.sizeSy);
FILE: src/amiga.c
LINE: 10
ORIGINAL:
#include <fcntl.h>
NEW:
// #include <fcntl.h>
FILE: src/amiga.c
LINE: 52
ORIGINAL:
# define MEMTYPE (MEMF_CLEAR)
NEW:
#define MEMTYPE (MEMF_ANY|MEMF_CLEAR)
FILE: src/amiga.c
LINE: 225
ORIGINAL:
Enable_Abort=0;
NEW:
// Enable_Abort=0;
FILE: src/amiga.c
LINE: 301
ORIGINAL:
Enable_Abort=0;
NEW:
// Enable_Abort=0;
FILE: src/amiga.c
LINE: 1172
ORIGINAL:
voglitext->TopEdge = vdevice.sizeSy - vdevice.cpVy - vdevice.hheight;
NEW:
voglitext->TopEdge = (short)(vdevice.sizeSy - vdevice.cpVy - vdevice.hheight);
FILE: hershey/src/htext.c
LINE: 14
ORIGINAL:
#include <fcntl.h>
NEW:
// #include <fcntl.h>
FILE: src/vogl.h
LINE: 97
ORIGINAL:
typedef long Object;
NEW:
// typedef long Object;